package com.example.service.impl;

import com.example.pojo.Emp;
import com.example.pojo.pageBean;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

public interface EmpServiceImpl {
    pageBean list(Integer page, Integer pageSize, String name, Short gender, LocalDate begin, LocalDate end);

    void deleteById(int[] ids);

    void add(Emp emp);

    Emp getEmpById(Integer id);

    void updateById(Emp emp);

    Emp  getEmpByNameAndPassword(Emp emp);
}
